home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-3488 / macros / _corshad.aim next >
Text File  |  1990-10-13  |  319b  |  12 lines

  1. * shading correction by subtraction of
  2. * the background.
  3. * background is calculated by maxmin filtering
  4. * source image should be in A, result in B.
  5. *
  6. * calculate the background by
  7. * maxmin filtering
  8. lmax A,B,31         * max filter
  9. lmin B,B,31         * min filter
  10. sub A,B,255         * subtract background
  11.  
  12.